*{
    margin: 0;
    padding: 0;
}

body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box{
    width: 200px;
    height: 200px;
    background:linear-gradient(red 50%, black 50%) ;
    border-radius: 50%;
    position: relative;
}
.box::before{
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(red 20%,  black 20%);
    position: absolute;
    top: 25%;
    left: 0;
    /* display: block; */
}
.box::after{
    content: "";
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(black 20%,  red 20%);
    position: absolute;
    /* transform: translate(0, 50%); */
    top: 25%;
    right: 0;;
    /* display: block; */
}